package cn.ecasoft.pojo.vo;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * @Author: LiangChun
 * @Description: 采集表对应的数据表lj_meter_collect_data
 * @DateTime: 2023/2/24
 **/
@Data
@NoArgsConstructor
@AllArgsConstructor
public class CollectDataVo {
    @NotNull(message = "能耗数据编码0-24")
    private String M_Code;
    @NotNull(message = "采集表-楼宇编码0-19")
    private String M_Co_Building_Code;
    @NotNull(message = "用能代码(19-25)")
    private String M_Energy_Code;

    @NotNull(message = "建筑类型代码(19-20)")
    private String M_Building_Type;

    @NotNull(message = "能源类型代码20-22")
    private String M_Energy_Type_Code;
    @NotNull(message = "分项能耗代码22-23")
    private String M_Consumption_Code;
    @NotNull(message = "一级能耗节点代码23-24")
    private String M_Primary_Code;
    @NotNull(message = "二级能耗节点代码24-25")
    private String M_Secondary_Code;
    @NotNull(message = "上传时间")
    private Date M_Up_Time;
    @NotNull(message = "数值")
    private String M_Value;
}
